#ifndef GAME_H
#define GAME_H
#include<QPainter>
#include<QKeyEvent>
#include<QEvent>
#include<QString>
#include<QImage>
#include<QRect>
class game{
public:
    game();
    void getmap(int n);
    void drawmap(QPainter *pdraw);
    void Key(QKeyEvent *event);
    int getr();
    int getc();
    int gameover();
    int number=1;
   protected:
    int map[8][8];

};
#endif // GAME_H
